package com.lgx.common.dao;

import java.util.List;

import com.lgx.common.entity.Dictionary;
import com.lgx.common.exception.DataException;

public interface IDictionaryDao {
	public Dictionary createDictionary(Dictionary dict) throws DataException;
	public Dictionary updateDictionary(Dictionary dict) throws DataException;
	public void deleteDictionary(Dictionary dict) throws DataException;
	public void deleteDictionary(String id) throws DataException;
	
	public Dictionary findDictionaryById(String id);
	
	public List<Dictionary> findDictionaryList();
	
	public List<Dictionary> findDictionaryList(String kind);
	
	public List<Dictionary> findDictionaryKind();
}
